<?php
/**
 * Created by PhpStorm.
 * User: Edward
 * Date: 2019/5/30
 * Time: 14:18
 */

namespace app\Validate;


class FreightValidate extends BaseValidate {
    protected $rule = [
        'freight_type'=>'require|number',
        'freight_price'=>'require|number',
        'freight'=>'require|array'
    ];
    protected $message =  [
        'freight_type'=>'缺少运费类型',
        'freight_price'=>'缺少运费价格',
        'freight'  =>'缺少运费数组'
    ];
}